<?php


namespace App\Kuafu\Customer\Enum;


class PlatformCodeEnum
{
    const PLATFORM_APPLET_WECHAT_APPLET       = 1;
    const PLATFORM_APPLET_ALIPAY              = 2;
    const PLATFORM_APPLET_OFFICIAL            = 3;
    const PLATFORM_APPLET_DOUYIN              = 4;
    const PLATFORM_APPLET_MERCHANT_APP_COUPON = 5;
    const PLATFORM_WECHAT_SERVICE             = 6;

    const PLATFORM_CODE_TEXT = [
        self::PLATFORM_APPLET_WECHAT_APPLET       => 'WECHAT', // 微信小程序
        self::PLATFORM_APPLET_ALIPAY              => 'ALIPAY', // 支付宝小程序
        self::PLATFORM_APPLET_OFFICIAL            => 'OFFICIAL', // 微信公众号
        self::PLATFORM_APPLET_DOUYIN              => 'DOUYIN', // 抖音小程序
        self::PLATFORM_APPLET_MERCHANT_APP_COUPON => 'MERCHANT_APP_COUPON', // 商家 APP 核销优惠券
        self::PLATFORM_WECHAT_SERVICE             => 'WECHAT_SERVICE', // 微信服务号
    ];
}